<template>
  <div class="header">
      <div class="logo">
        <img src="/img/logo_485365e.png">
      </div>
      <div class="nav">
        <div class="biao1">
          <p>服务案列
            <img src="/img/jiantou.png">
          </p>
          <ul>
            <li><a href="#">企业</a></li>
            <li><a href="#">市政单位</a></li>
            <li><a href="#">高校</a></li>
          </ul>
        </div>
        <div class="biao1">
          <p>产品介绍
            <img src="/img/jiantou.png">
          </p>
          <ul>
            <li><router-link :to="`/about`">内容</router-link></li>
            <li><router-link :to="`/about`">产品</router-link></li>
            <li><router-link :to="`/about`">服务</router-link></li>
            <li><router-link :to="`/about`">智能硬件</router-link></li>
          </ul>
        </div>
        <div class="biao1">
            <p> <router-link :to="`/me`">关于我们</router-link> </p>
        </div>
      </div>
      <div class="you">
        <span class="nav_list">
          <a href="#">电脑端体验</a>
        </span>
        <span class="nav_item">
          <a href="#">移动段体验</a>
          <i>
            <img src="/img/download.png">
          </i>
        </span>
        <button class="btn">申请使用</button>
      </div>
    </div>
</template>
<style scoped>
.header{
  max-width: 1200px;
  height: 48px;
  line-height: 48px;
  margin: 0 auto;
  padding: 0 4rem;
  z-index: 1;
  box-shadow: 0 1px 1px rgb(94  121  159 / 15%);
}
.logo{
  align-items: center;
  width: 115px;
  height: 48px;
  float: left;
  display: flex;
}
.logo > img{
  
  width: 100%;
  align-items: center;
}
.nav{
  padding-left: 90px;
  display: flex;
  width: 336px;
  height: 48px;
  /* justify-content: space-around; */
}
.nav .biao1 > p{
  width: 112px;
  height: 48px;
  text-align: center;
}
.biao1 ul{
  background-color: #fff;
  box-shadow: 
  1px -1px 2px rgb(94 121 159 / 15%), 
  1px 1px 2px rgb(94 121 159 / 15%), 
  1px 1px 2px rgb(94 121 159 / 15%), 
  -1px 1px 2px rgb(94 121 159 / 15%);
}
.header .nav div:hover p,.header .nav div:hover p > a{
  color: #5788d9;
  cursor: pointer;
}
.nav .biao1 ul>li:hover a{
  color: #5788d9;
}
.header .nav div:hover ul{
  display: block;
}

.header .nav div:nth-child(1) p, .header .nav div:nth-child(2) p{
  padding: 0rem 0.26rem;
  font-size: .14rem;
}
.header .nav div p > img{
  top: 19px;
  width: 0.6rem;
  height: 0.6rem;
  transform:rotate(180deg) ;
}
.nav .biao1 p:hover img{
  transform:rotate(360deg) ;
}
.nav > .biao1 > p , .nav > .biao1  p > a,.nav > .biao1  li > a{
  font-size: 14px;
  color: #555555;
  text-decoration: none;
} 
.biao1>ul{
  list-style: none;
  line-height: 30px;
  text-align: center;
  display: none;
}
.you{
  float: right;
  top: -49px;
  position: relative;
  display: flex;
}
.you a{
  text-decoration: none;
}
.you span{
  padding-right: 20px;
  display: block;
}
.you span a{
  color: #444444;
  font-size: 14px;
  text-align: center;
  color: #444;
  font-size: 15px;
}
.header .you span:hover a{
  color: #5788d9;
}
.nav_item i>img{
  display: none;
  width: 112px;height: 112px;
  border-radius: 5px;
  position: absolute;
  top: 50px;
  left: 50%;
  margin-left: -64px;
  border: 6px solid #f0f6fe;
  box-sizing: border-box;
}
.header .you span:hover i>img{
  display: block;
}
.btn:hover{
  background-color: #007aff;
  cursor: pointer;
}
.btn{
  width: 84px;height: 32px;
  font-size: 14px;
  line-height: 32px;
  color: #fff;
  display: inline-block;
  border-radius: 16px;
  text-align: center;
  margin-left: .6rem;
  background-color: #5788d9;
  border: 1px;
  margin-top: 10px;
}
</style>